ecshop

推荐列表 站点导航

当前位置:首页 > 建站教程 > ecshop >

ecshop暂时关闭后管理员可查看页面的方法

来源:网络整理  作者:  发布时间:2020-12-14 05:58
ecshop本身具备暂时关闭网站的功能,并可以自定义关闭的公告。那么ecshop暂时关闭后管理员如何可以查看页面呢? 打...
    /* 商店关闭了,输出关闭的消息 */  
        die('<div style="margin: 150px; text-align: center; font-size: 14px"><p>' . $_LANG['shop_closed'] . '</p><p>' . $_CFG['close_comment'] . '</p></div>');      
}

找到(约122行)
    /* 商店关闭了,输出关闭的消息 */  
    }  
打开 /includes/init.php 文件
        header('Content-type: text/html; charset='.EC_CHARSET);  
if ($_CFG['shop_closed'] == 1)  
修改为
if ($_CFG['shop_closed'] == 1)  
    header('Content-type: text/html; charset='.EC_CHARSET);  
    die('<div style="margin: 150px; text-align: center; font-size: 14px"><p>' . $_LANG['shop_closed'] . '</p><p>' . $_CFG['close_comment'] . '</p></div>');  
{  
    if (!isset($_SESSION['admin_name']))  
}

    {  
{  
ecshop本身具备暂时关闭网站的功能,并可以自定义关闭的公告。那么ecshop暂时关闭后管理员如何可以查看页面呢?

相关热词: ecshop 方法

本站内容来源于网络,如有侵权请与我们联系,我们会及时删除,我们深感抱歉!
注:本站所有信息仅供用于网络技术学习参考,学习中请遵循相关法律法规!

本文地址: https://v30.fanwenzhu.com/jz/ecshop/3638.shtml

Copyright © www.juheyunku.com      关于 | 合作 | 声明 | 联系 | 更新 | 地图 | Tags

ecshop暂时关闭后管理员可查看页面的方法

2020-12-14 编辑:

    /* 商店关闭了,输出关闭的消息 */  
        die('<div style="margin: 150px; text-align: center; font-size: 14px"><p>' . $_LANG['shop_closed'] . '</p><p>' . $_CFG['close_comment'] . '</p></div>');      
}

找到(约122行)
    /* 商店关闭了,输出关闭的消息 */  
    }  
打开 /includes/init.php 文件
        header('Content-type: text/html; charset='.EC_CHARSET);  
if ($_CFG['shop_closed'] == 1)  
修改为
if ($_CFG['shop_closed'] == 1)  
    header('Content-type: text/html; charset='.EC_CHARSET);  
    die('<div style="margin: 150px; text-align: center; font-size: 14px"><p>' . $_LANG['shop_closed'] . '</p><p>' . $_CFG['close_comment'] . '</p></div>');  
{  
    if (!isset($_SESSION['admin_name']))  
}

    {  
{  
ecshop本身具备暂时关闭网站的功能,并可以自定义关闭的公告。那么ecshop暂时关闭后管理员如何可以查看页面呢?

本站内容来源于网络,如有侵权请与我们联系,我们会及时删除,我们深感抱歉!
注:本站所有信息仅供学习参考!
本文地址为 https://v30.fanwenzhu.com/jz/ecshop/3638.shtml